package com.zhenzhen.xszhcp.mapper;

import com.zhenzhen.xszhcp.model.Activity;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
public interface ActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKey(Activity record);

    List<Activity> getActivityList(Map paramMap);

    List<Activity> getActivityByStudent(int sid);

    int delActivitybyStudent(int id);
}